﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    [Serializable]
    [EntityMapping(TableName = "Task")]
    public class Task
    {
        /// <summary>
        /// 任务标识
        /// </summary>
        [EntityMapping(IsKey = true, ColumnName = "TaskID")]
        public string TaskID{get;set;}

        /// <summary>
        /// 任务标题
        /// </summary>
        [EntityMapping(ColumnName = "Title")]
        public string Title { get; set; }

        /// <summary>
        /// 任务开始时间
        /// </summary>
        [EntityMapping(ColumnName = "StartDateTime")]
        public DateTime? StartDateTime { get; set; }

        /// <summary>
        /// 任务结束时间
        /// </summary>
        [EntityMapping(ColumnName = "EndDateTime")]
        public DateTime? EndDateTime { get; set; }

        /// <summary>
        /// 任务范围
        /// </summary>
        [EntityMapping(ColumnName = "Range")]
        public string Range { get; set; }

        /// <summary>
        ///  任务内容
        /// </summary>
        [EntityMapping(ColumnName = "Content")]
        public string Content { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        [EntityMapping(ColumnName = "State")]
        public int State { get; set; }



    }
}
